@gray1: #e1e1e1;
@gray2: #f6f6f6;
//@node_green: #f39c12;
@node_green: #80bd01;
@node_black: #333;

@color_title: #000;
@color_title_visited: #777;

@color_search_title: #2440b3;
@color_search_title_visited: #777;
@color_search_intro: #333;

@color_highlight_title: #f73131;
@color_highlight_intro: #f73131;

@list_line_height: 26px;
@list_search_line_height: 27px;

@total_width: 1230px;
@content_width: 850px;
@sidebar_width: 380px;
@alluser_width: 363px;
@alluser_user_name_width: 225px;

@search_input_height: 40px;

body, html {
  height: unset;
  min-height: 100%;
}

@font-face {
  font-family: "ddg-serp-icons";
  src: url("/public/libs/font/ddg-serp-icons.woff");
}

.test {
  border: 1px blue solid;
}

html {
  font-size: 100px;
}

*, ::after, ::before {
  box-sizing: border-box;
}

/* base */
body {
  background-color: @gray1;
  font-size: 13.9px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, th, td, .p1, .p2 {
  font-family: arial;
}

img {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

a {
  color: #0269c8;
}

.alert-success,
.alert-error,
.alert-danger {
  margin-bottom: 10px;
  padding: 8px 35px 8px 15px;
  border: 1px solid #fbeed5;
  margin-bottom: 20px;
}

.alert {
  position: fixed;
  left: 50%;
  top: -20%;
  z-index: 100;
  transform: translateX(-50%);
  max-width: 80%;
  box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.5);

  &.out {
    top: -20%;
  }

  &.in {
    top: 20%;
  }
}

label.label_edit_private {
  display: inline-block;
  margin-left: 30px;

  input {
    vertical-align: middle;
    margin: 0;
    box-shadow: none;
  }

  span {
    vertical-align: middle;
  }
}


#main {
  width: @total_width;
  max-width: 1400px;
  min-width: 960px;
  margin: 10px auto;
  min-height: 400px;
  position: relative;
  //z-index: 8;
}

div#topic_list,
div[id^="topic_"] {
  margin: 0;

  .cell:hover {
    //background: #fafafa;
  }
}

div#topic_list {
  margin-top: 10px;
}

#topic_list > .item-cell:last-child {
  border-bottom: none;
}


#topic_list > .mobile-cell:last-child {
  border-bottom: none;
}

#content {
  width: @content_width;
  padding: 0;
}

#content div.panel {
  overflow: hidden;
}

.content_edit {
  margin: 0 !important;
  width: 100% !important;
}

#sidebar {
  width: @sidebar_width;
  font-size: 14px;
  float: right;
  top: 15px;
  margin-bottom: 20px;
  padding-left: 15px;
  overflow: hidden;
}

#sidebar {
  .card_head {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .user_info {
      margin-left: 0;
    }
  }

  .plugin-download {
    position: sticky;
    top: 50px;

    div {
      line-height: 1.7;
    }
  }
}

#content .topic_full_title {
  font-size: 22px;
  font-weight: bold;
  margin: 8px 0;
  display: inline-block;
  vertical-align: bottom;
  width: 100%;
  line-height: 1.2;

  .put_good,
  .put_top {
    line-height: 2;
  }
}

#content .topic_full_title .topiclist-tab {
  display: none;
}

#content .author-info-block {
  display: flex;
  align-items: center;

  .avatar {
    flex: 0 0 auto;
    margin-right: 10px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .name {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    color: #515767;
  }

  .author-info-box {
    flex: 1;
    margin-top: 2px;
    max-width: 45%;
  }

  .meta-box {
    font-size: 14px;
    color: #8a919f;
    margin-top: 2px;
    word-break: break-word;
    color: #8a919f;
  }
}

#content .action {
  float: right;
  margin-top: 8px;
}

#content .share {
  text-align: right;
}

#content h3 {
}

#manage_topic {
  margin-top: 10px;
  margin-left: 5px;

  a {
    text-decoration: none;
    margin-right: 15px;
  }
}

#sidebar .panel {
  font-size: 14px;
  margin-bottom: 15px;
}

#sidebar .header {
  color: @node_black;
  border-radius: 3px 3px 0 0;
}

#sidebar .topic_title {
  max-width: 270px;
  font-size: 14px;
}

.j-attention {
  width: 80px !important;
}

.modal {
  .is_required_error {
    border: 1px solid red;
  }

  .explain {
    display: none;
    margin-top: -16px;

    &.is_required_error_explain {
      display: block;
      color: red
    }
  }
}

.collect-tags-search {
  display: flex;
  align-items: center;
  position: relative;

  .input {
    margin-bottom: 0;
    margin-top: 0 !important;
    width: auto;
    height: 28px;
    flex: 1;

    & + button {
      display: none;
      margin-left: 10px;
      position: absolute;
      right: 0;
      height: 30px;
    }

    &:valid + button {
      display: block;
    }
  }
}

#sidebar .collect-tags {
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 3px;

  .tags-head {
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #f0f2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .header {
      font-size: 14px;
      display: flex;
      align-items: center;
    }

    .tag-button {
      cursor: pointer;
      text-decoration: none;

      i {
        color: #08c;
        font-size: 15px;
      }

      span {
        color: #08c;
        font-size: 14px;
      }
    }
  }

  .tags-bd {
    margin: 5px;
    padding-bottom: 5px;

    .empty {
      padding: 20px 0;
      text-align: center;
      color: grey;
    }

    .tag {
      border: 1px solid grey;
      color: inherit;
      padding: 3px 8px;
      border-radius: 40px;
      cursor: pointer;
      margin: 4px;
      display: inline-block;

      &.tag-size::after {
        content: attr(size);
        background-color: @node_green;
        color: white;
        padding: 0px 4px;
        border-radius: 30px;
      }

      &:hover {
        background-color: #f5f5f5;
        text-decoration: none;
      }

      &.selected,
      &:hover {
        color: #fff;
        background-color: #558cd4;
      }
    }
  }
}

#footer {
  clear: both;
  position: relative;
  background: @node_black;

  &.fix-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
  }
}

#footer_main {
  width: 90%;
  max-width: 1400px;
  min-width: 900px;
  margin: 0px auto;
  color: #e2e2e2;
  padding: 20px 0px;
  font-size: 13.9px;
  line-height: 1.6;

  .col_fade {
    a {
      color: #afb1b3;
      vertical-align: bottom;
    }

    p {
      color: #afb1b3;
      line-height: 20px;
      vertical-align: bottom;
    }
  }
}

#mark_all_messages_btn {
  margin: 5px 0px;
}

#forgot_password {
  margin-left: 1em;
}

/* common */
.col_fade {
  color: hsl(0, 0%, 67%);
}

.header .col_fade {
  color: @node_black;
  font-weight: 600;
}

.bold {
  font-weight: bold;
}

.dark {
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: #666;
  font-size: 16px !important;
}

a.light:link,
a.light:visited,
a.light:active {
  color: #005580;
  text-decoration: none;
}

a.light:hover {
  color: gray;
  text-decoration: none;
}

.unstyled li {
  margin: 10px auto;
}

.unstyled li div {
  overflow: hidden;
}

.panel {
  margin-bottom: 13px;
}

.breadcrumb > li {
  text-shadow: none;
}

.breadcrumb > li.active {
  color: #777;
  //margin-top: 3px;
}

.breadcrumb a {
  color: #4a68ad;
}

.breadcrumb > li.sousuojieguo {
  text-shadow: none;
  color: #777777;
  font-weight: 500;
}

.breadcrumb > .shezhizhaiyao {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

#content .panel .header {
  background-color: white;
}

.panel .header {
  padding: 10px;
  background-color: @gray2;
  border-radius: 3px 3px 0 0;

  &.topic_header {
    background-color: white;
    border-bottom: 1px solid #f0f2f7;

    &.sticky {
      animation: 0.5s ease-in 0s 1 normal both running slidein;
      position: sticky;
      top: 0;
    }
  }
}

@keyframes slidein {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0%);
  }
}

.panel .moon {
  padding: 10px;
}

.panel .moon_tags {
  padding-left: 10px;
}

.panel .inner .unstyled li div {
  text-overflow: ellipsis;
}

.panel .inner.topic {
  padding: 10px;
  //padding-bottom: 30px;
}

.panel .inner.reply,
.panel .inner.userinfo,
.panel .inner.post {
  padding: 10px;
  border-top: 1px solid #e5e5e5;
}

.panel .inner {
  line-height: 1.6;
  padding: 10px;
  background-color: white;
  border-radius: 0 0 3px 3px;
}


.panel .inner.no-padding {
  padding: 0;
}

.panel .inner li {
  //line-height: 6.6;
}

.panel > .cell:last-child {
  box-shadow: none;
}

.cell {
  //overflow: hidden;
  position: relative;
  padding: 15px;
  font-size: 14px;
  background-color: #fff;
  border-top: 1px solid #f0f2f7;
}

#topic_list > .cell {
  padding-right: 10px;
  background: white;
  border-top: 1px solid rgb(240, 240, 240);

  &:nth-child(1) {
    border-top: none;
  }
}

.cell .reply_count {
  width: 40px;
  display: inline-block;
  text-align: center;
  line-height: 2em;
}

.cell .count_name {
  font-size: 12px;
  color: #aaa;
}

.cell .count_of_replies {
  margin-left: -2px;
  color: #9e78c0;
  font-size: 14px;
}

.cell .count_of_visits {
  margin-left: -3px;
  font-size: 10px;
  color: #b4b4b4;
}

.cell .cell {
  padding: 10px 0px 0px 10px;
}

.cell:last-child {
  border-bottom: none;
}

.cell.message,
.cell[message_id] {
  padding: 10px;
}

.cell.message a,
.cell[message_id] a {
  //max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

.cell.more {
  padding: 10px;
}

.last_time {
  font-size: 14px;
  display: inline-block;
  margin-left: 17px;
  color: #9195a3;

  &:visited {
    color: #9195a3;
  }
}

.last_time .last_active_time {
  text-align: right;
  min-width: 50px;
  display: inline-block;
  white-space: nowrap;
}

a.last_time {
  text-decoration: none;
}

.last_time .user_small_avatar {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 0px;
  border-radius: 3px;
}

.board .floor {
}

.board a {
  color: #404040;
}

.board a:hover {
  text-decoration: none;
}

.big {
  font-size: 14px;
}

.messages_count {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;

  padding: 1px 5px;
  background-color: @node_green;
  color: white;
}

.edit_tag {
  margin-left: 8px;
}

.tag a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.tag a:hover {
  color: #ccc;
}

a.tag_big {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

  padding: 2px 5px;
  margin: 0 8px 5px 0;
  display: inline-block;
  text-decoration: none;
}

.tag_selectable {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

  display: inline-block;
  padding: 3px 5px;
  margin: 0px 10px 10px 0px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.tag_select {
  color: #0099ff;
}

.tag_in_topic {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

  font-size: 14px;
  padding: 1px 3px;
  margin: 0px 10px 10px 0px;
  color: #fff;
  background-color: #558cd4;
  display: inline-block;
  cursor: pointer;
}

.tag_in_topic a {
  color: #fff;
  text-decoration: none;
}

.tag_in_topic a:hover {
  color: #0099ff;
}

.tag_in_abstract {
  color: #fff;
  background: hsl(221, 28%, 83%);
  font-size: 14px;
  font-weight: bold;
  padding: 1px 2px;
  text-decoration: none;
  margin: 0px 2px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.tag_in_abstract:hover {
  background: hsl(221, 28%, 73%);
}

.tag_with_num {
  margin-right: 10px;
  display: inline-block;
}

.tag_num {
  font-size: 11px;
  margin-left: -10px;
}

.tag_highlight {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 1px 2px;
}

.user_avatar img,
.user_big_avatar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-sizing: border-box;
}

a.user_avatar:hover {
  text-decoration: none;
}

.user_card .user_avatar {
  vertical-align: middle;
  margin-right: 0.5em;

  img {
    width: 60px;
    height: 60px;
  }
}

.user_card .user_name {
  font-size: 16px;
}

.user_big_avatar {
  float: left;
  margin-right: 10px;
}

.user_big_avatar img {
  width: 40px;
  height: 40px;
}

.fa {
  color: #000000;
  opacity: 0.4;
}

.fa:hover {
  color: #000000;
  opacity: 0.6;
}

.user {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;

  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);

  width: @alluser_width;
  border: 1px dashed #e2e2e2;
  padding: 10px;
  margin-bottom: 20px;
  display: inline-block;
}

.user .user_avatar {
  width: 48px;
  height: 48px;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
}

.user .user_name {
  font-size: 14px;
  margin-left: 1em;
}

.user_name {
  max-width: @alluser_user_name_width;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.reply_author {
  font-size: 12px;
  font-weight: bold;
}

.dark.reply_author {
  vertical-align: top;
}

.reply_by_author {
  color: #fff;
  background-color: #6ba44e;
  padding: 2px;
  font-size: 12px;
}

.reply_time {
  font-size: 11px;
}

.j_reply_floor {
  font-size: 13.9px;
}

.cell .anchor {
  position: absolute;
  top: -5px;
}

.cell .anchor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -35px;
  top: 0px;
  width: 35px;
  height: 100%;
}

.cell-highlight {
  background: #ddecbd !important;
}

.cell .anchor-link i {
  background: url("/public/images/anchor-link.png");
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: 0;
}

.cell .anchor-link:hover {
  i {
    opacity: 1;
  }
}

// <img src="/public/images/anchor-link.png" alt="">

.cell .anchor-position {
  position: absolute;
  top: 0;
}

.author_content .user_avatar {
  display: inline-block;
  float: left;
  margin-top: -3px;
}

.user_info {
  margin-left: 10px;
  margin-top: 1px;
  display: inline-block;
}

.user_action {
  float: right;
  margin-left: 20px;
  font-size: 15px;

  a {
    text-decoration: none;
  }

  .up-count {
    color: gray;
  }
}

.reply_content {
  padding-left: 38px;
  margin-top: 5px;
  color: @color_title;
}

.reply_editor {
  height: 200px;
}

.cell.reply_highlight {
  background-color: #f4fcf0;
}

.reply2_btn,
.reply2_at_btn {
  opacity: 0.4;
  cursor: pointer;
}

.reply2_btn:hover,
.reply2_at_btn:hover {
  opacity: 0.6;
}

.reply2_area {
  margin-left: 42px;
}

.reply2_form {
  display: none;
  margin-top: 2px;
}

.submit_control {
  height: 48px;
  line-height: 48px;
}

a.topic_title {
  font-size: 18px;
  font-family: arial, sans-serif;
  display: inline-block;
  vertical-align: middle;
  line-height: @list_line_height;
  text-overflow: ellipsis;
  white-space: normal;
  display: inline;
}

#topic_list a.topic_title {
  color: @color_title;
}

#topic_list a.topic_title:visited {
  //color: @color_title_visited;
  text-decoration: none;
}

.topic_title_wrapper {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic_tags {
  margin-top: -3px;
  padding-left: 70px;
  padding-right: 90px;

  .topic_tag {
    padding: 3px 6px;
    border-radius: 4px;
    color: #06f;
    border: 1px solid rgba(0, 102, 255, .6);
    font-size: 10px;
    margin-right: 7px;
    white-space: nowrap;
  }

  .topic_tag_original {
    color: #cb0c13;
    background: rgba(203, 12, 19, .15);
    text-decoration: none;
    display: inline-block;
    padding: 0 8px;
    font-size: 12px;
    margin-right: 5px;
    margin-top: 10px;
    height: 22px;
    line-height: 22px;

    &:hover {
      color: #fff;
      background: #cb0c13;
    }
  }
}

.topic_tags_detail {
  margin: 0 !important;
  padding: 0 !important;
}

.put_top,
.put_good {
  vertical-align: top;
  background: @node_green;
  padding: 2px 4px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  color: white;
  font-size: 12px;
  margin-right: 2px;
}

.star_name {
}

img.unread {
  opacity: 0.1;
  cursor: pointer;
}


.create_topic_btn {
  float: right;
  color: #778087;
  font-size: 15px;

  &:visited {
    text-decoration: none;
    color: #778087;
  }

  img {
    width: 17px;
    height: 17px;
    vertical-align: middle;
  }

  span {
    vertical-align: middle;
  }
}

.board {
  margin-top: 10px;
  width: 80%;
}

.tags_select {
  border: 1px dashed #ccc;
  padding: 10px;
}

.user_profile {
  margin-top: 20px;
  clear: left;
}

// #backtotop {
//   // width: 24px;
//   // color: gray;
//   // padding: 12px 0 12px 5px;
//   // display: none;
//   // position: fixed;
//   // cursor: pointer;
//   // text-align: center;
//   // z-index: 20;
//   // background-color: #fff;
//   // border-radius: 12px 0 0 12px;

//   &:hover {
//     color: dodgerblue;
//   }
// }

.tabbable ul {
  max-height: 40px;
}

.select-wrap {
  //width:calc(~"93vw - 20px");
  display: flex;
  justify-content: flex-start;
  align-content: center;
}

.original_select {
  width: 66px;
  outline: none;
  padding: 0;
  border-radius: unset;
}

input#title {
  flex: 1;
  //width: 98%;
  border: 1px solid #ccc;
  padding: 0 6px;
  margin-bottom: 10px;
  resize: none;
  height: 30px;
  line-height: 29px;
  display: inline-block;
  box-shadow: none;
  box-sizing: border-box;
}

.editor_buttons {
  margin-top: 10px;
}

.editor_buttons > button {
  vertical-align: baseline;
}

/* custom bootstrap */
.navbar {
  margin-bottom: 0px;
  z-index: 9;
  width: 100%;
  position: relative;
  background: @node_black;
  font-size: 13.9px;
}

.navbar-inner {
  width: @total_width;
  background: none;
  border-radius: 0px;
  border: none;
  box-shadow: none;
  margin: auto;
  padding: 8px 0;
}

.navbar .container {
  width: 100%;
  min-width: 960px;
  margin: 0px auto;
  max-width: 1400px;
  display: flex;
  align-items: center;

  ul.nav.pull-right {
    margin-left: auto;

    li:last-child {
      margin-right: -15px;
    }
  }
}

.navbar .brand {
  padding: 0 20px;
  text-shadow: none;
  color: #ffffff;
  font-weight: 500;

  &:hover {
    color: yellow;
  }

  img {
    //vertical-align: sub;
    width: 32px;
    height: 32px;
  }
}

.navbar .search-query {
  box-sizing: border-box;
  border: 1px solid #888888;
  height: 35px;
  width: 100%;
  background-color: white;
  border-radius: 4px;
}

.navbar .nav .divider-vertical {
  background-color: #2b3741;
  border-right: 1px solid #2f3b46;
}

.navbar .nav > li {
  height: 40px;
}

.navbar .nav > li > a {
  text-shadow: none;
  color: #ffffff;

  &:hover {
    color: yellow;
  }
}

li#to-simple-li {
  margin-left: 13px;
  margin-right: 13px;
}


a#to-simple-a {
  font-weight: bolder;
  margin-top: 8px;
  border: 2px solid #fff;
  border-radius: 7px;
  font-size: 21px;
  line-height: 22px;
  height: 25px;
  padding: 0 12px;

  &:hover {
    cursor: pointer;
    color: #fff !important;
  }

  img {
    height: 25px;
  }

  .fa {
    color: white;
    opacity: 1;
  }
}


.form-actions {
  border-top: none;
  background-color: white;
  max-height: 40px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.btn {
  padding: 3px 14px;
}

.breadcrumb {
  padding: 0px;
  margin: 0px;
  border: none;
  background: none;
  box-shadow: none;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-pills {
  margin: 0px 0px 10px 0px;
}

.nav-pills > li > a {
  padding: 2px 10px;
  line-height: 22px;
}

.topic_content {
  margin: 0 10px;
}

.preview h1,
.preview h2,
.preview h3,
.preview h4,
.preview h5,
.preview h6,
.reply_area h1,
.reply_area h2,
.reply_area h3,
.reply_area h4,
.reply_area h5,
.reply_area h6,
.topic_content h1,
.topic_content h2,
.topic_content h3,
.topic_content h4,
.topic_content h5,
.topic_content h6 {
  margin: 30px 0 15px 0;
  //border-bottom: 1px solid #eee;
}

.reply_area > .clearfix {
  height: 0;
}

.topic_content h1 {
  font-size: 13 * 2.5px;
}

.topic_content h2 {
  font-size: 26px;
}

.topic_content p,
.reply_content p,
.reply_form p,
.preview p {
  font-size: 16px;
  line-height: 1.7em;
  //overflow: auto;
}

#main .topic_content p a.content_img,
#main .reply_content p a.content_img {
  color: hsl(0, 0%, 40%);
  box-shadow: 0px 1px 2px hsla(0, 0%, 55%, 0.6);
  display: inline-block;
  margin: 10px 0px;
}

#main p a.content_img {
  max-width: 100%;
}

div[class$="content"] > blockquote > p {
  font-size: 14px;
  line-height: 18px;
}

.index_notify {
  font-size: 14px;
}

/* about score on sidebar */
.top_score {
  color: gray;
  padding: 2px;
}

#sidebar .inner ol {
  margin: 4px 0px;
  list-style: none;
}

.top_score {
  margin-right: 10px;
}

/* format the additional msgs of topics */
div[class$="part"] {
  display: inline-block;
}

.click_part {
  width: 80px;
}

.reply_part {
  width: 300px;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
  display: none;
  line-height: 0;
  content: "";
}

textarea,
textarea:focus,
input,
input:focus {
  box-shadow: 0px 0px 2px rgba(60, 60, 60, 0.5);
  // border: none;
}

textarea.editor {
  width: 98%;
  padding: 0px;
  line-height: 1.6;
  height: 200px;
  resize: vertical;
  font-size: 15px;
  padding: 0.5em;
  border: none;
}

#edit_reply_form textarea.editor,
#create_topic_form textarea.editor {
  height: 400px;
}

#edit_reply_form .preview,
#create_topic_form .preview {
  min-height: 400px;
}

.marked_icon {
  float: right;
}

.topic_content table,
.reply_content table {
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
  font: inherit;
}

.topic_content table tr,
.reply_content table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.topic_content table tr:nth-child(2n),
.reply_content table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

.topic_content table tr th,
.reply_content table tr th {
  font-weight: bold;
}

.topic_content table tr th,
.topic_content table tr td,
.reply_content table tr th,
.reply_content table tr td {
  border: 1px solid #ccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}

.topic_content table tr th > :first-child,
.topic_content table tr td > :first-child,
.reply_content table tr th > :first-child,
.reply_content table tr td > :first-child {
  margin-top: 0;
}

.topic_content table tr th > :last-child,
.topic_content table tr td > :last-child,
.reply_content table tr th > :last-child,
.reply_content table tr td > :last-child {
  margin-bottom: 0;
}

.span-common {
  display: inline-block;
  float: none;
  padding: 3px 10px;
  border: none;
  margin: 0;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: none;
  border-radius: 3px;
  line-height: 1.6;
  vertical-align: middle;

  background-color: #e5e5e5;

  &:hover {
    background-color: #909090;
    color: white;
  }
}

.span-success {
  .span-common();

  color: white;
  background-color: @node_green;

  &:hover {
    background-color: #6ba44e;
    border-color: #6ba44e;
  }
}

.span-primary {
  .span-common();

  color: white;
  background-color: #06f;

  &:hover {
    background-color: #005ce6;
    border-color: #005ce6;
  }
}

.span-info {
  .span-common();
  color: white;
  background-color: #8590a6;

  &:hover {
    background-color: #76839b;
    border-color: #76839b;
  }
}

.alert {
  border-radius: 0px;
}

.signature {
  font-style: italic;
  font-size: 15px;
}

.topic-tab {
  margin-right: 23px;
  color: @node_green !important;
  font-size: 16px;
  position: relative;
  white-space: nowrap !important;

  &.current-tab {
    background-color: @node_green;
    color: white !important;
    padding: 3px 4px;
    border-radius: 3px;
  }

  &:hover, &:focus {
    text-decoration: none !important;
  }
}

.header_sub_tab {
  //cursor: pointer;
  padding: 10px 0 0 15px;
  background: #fff;
  border-top: 1px solid #f0f2f7;
  border-bottom: 1px solid #f0f2f7;
  line-height: 1;
  display: flex;
  margin: 10px -13px 0 0;
  flex-wrap: wrap;

  .topic-sub-tab {
    font-size: 14px;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    height: 30px;
    line-height: 30px;
    margin-bottom: 10px;
    margin-right: 13px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
    color: rgb(54, 54, 54);
    background-color: rgb(246, 246, 246);
    font-weight: normal;
    padding: 0px 10px;
    text-decoration: none;

    &.current-tab {
      color: rgb(0, 144, 240);
      background-color: rgb(229, 241, 255);
      font-weight: 600;
    }

    &:hover {
      color: rgb(0, 144, 240);
      background-color: rgb(229, 241, 255);
    }
  }
}

ul.nav.nav-tabs {
  background: white;
  font-size: 16px;
  padding-left: 8px;
  padding-bottom: 5px;
  margin-bottom: 0;
  margin-right: -10px;

  li {
    margin-right: 7px;
    margin-bottom: 0;

    a {
      color: #333;
      padding: 8px;
    }
  }

  li.active > a {
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
    color: #0aa284;
  }
}

.up-following_tabs {
  background: white;
  padding-left: 15px;
  padding-bottom: 5px;
}

.following_tabs {
  .header_sub_tab();
  overflow-x: scroll;
  overflow-y: hidden;
  flex-wrap: unset;
  margin: 0;
  border: none;
  padding: 5px 15px 15px 5px;

  -webkit-overflow-scrolling: touch;

  &::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  }

  .topic-sub-tab-more.following-tab {
    .icon {
      box-sizing: border-box;
      font-size: 28px;
      color: #8590a6;
      text-align: center;
      line-height: 44px;
      border: 1px dashed #8590a6;
      border-radius: 50%;
    }
  }

  .following-tab {
    cursor: pointer;
    margin-right: 7px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    .icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      margin-bottom: 7px;
      background-size: contain;
    }

    .following_tab_name {
      font-size: 13px;
      color: #777;
      white-space: nowrap;
      width: 65px;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
    }
  }
}

.unread-tab:not(.current-tab)::before {
  content: " ";
  border: 4px solid red;
  border-radius: 4px;
  position: absolute;
  left: 48px;
  top: 2px;
}

.unread-tab-main::before {
  content: " ";
  border: 3px solid red;
  border-radius: 3px;
  position: absolute;
  left: 32px;
  top: -3px;
}

.unread-tab-attention:not(.current-tab)::before {
  content: " ";
  border: 4px solid red;
  border-radius: 4px;
  position: absolute;
  left: 39px;
  top: 2px;
}

.topiclist-tab {
  vertical-align: top;
  background-color: #e5e5e5;
  color: #999;
  padding: 2px 4px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  font-size: 12px;
  margin-right: 2px;
}

.up_btn {
  opacity: 1;
  cursor: pointer;
  height: 24px;
  width: 24px;
  line-height: 24px !important;
  text-align: center;
  border-radius: 50%;
  color: #009a61;
  background-color: rgba(1, 126, 102, 0.08);

  &.uped {
    color: #fff;
    background-color: #017e66;
  }
}

.reply .CodeMirror,
.reply2_area .CodeMirror {
  height: 160px;

  &:-webkit-full-screen {
    height: 100%;
  }

  &:-moz-full-screen {
    height: 100%;
  }

  &:fullscreen {
    height: 100%;
  }
}

.sep10 {
  height: 10px;
}

.replies_history {
  position: absolute;
  border: 1px solid #aaa;
  background-color: #fcfcfc;
  box-shadow: 2px 2px 6px #aaa;
  padding: 10px;
  min-width: 130px;
  max-width: 300px;

  .inner_content {
    overflow-y: auto;
    max-height: 400px;

    &::-webkit-scrollbar {
      width: 6px;
      background-color: #f5f5f5;
    }

    &::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      background-color: #f5f5f5;
    }

    &::-webkit-scrollbar-thumb {
      background-color: #999;
    }
  }

  .item {
    border-top: 1px solid #ddd;
    padding: 5px;

    img {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }

    .scroll_to_original {
      cursor: pointer;
      visibility: hidden;
      font-size: 1.2em;
      margin: 0 5px;
    }
  }

  .item:hover {
    .scroll_to_original {
      visibility: visible;
    }
  }

  .title {
    margin: 0 auto;
    width: 100%;
    text-align: center;

    .with {
      font-weight: bold;
      color: #0088cc;
    }
  }

  .anchor {
    width: 0;
    height: 0;
    border-right: 10px solid #aaa;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 0;
    position: absolute;
    top: 12px;
    left: -10px;
  }
}

.btn-info {
  color: white !important;
}

.friendship-community {
  img {
    width: 150px;
  }
}

.access_token {
  width: 200px;
  height: 200px;
}

.taosha-app-download {
  text-align: center;
}

.modal {
  max-width: 80%;
  transform: translateX(-50%);
  margin-left: unset;
}

.modal-pic {
  max-width: 100%;
}

#favorite-modal,
#tag-modal {
  padding: 10px 20px;
  display: none;
  top: -50%;

  .modal-head {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid grey;
    padding-bottom: 10px;
    margin-bottom: 10px;

    .title {
      font-size: 18px;
    }

    .close {
      font-size: 12px;
      font-weight: normal;
      opacity: 0.5;
    }
  }

  .modal-body {
    padding: 0;
    list-style: none;
  }

  .field {
    display: flex;

    &:not(:first-child) {
      margin-top: 20px;
    }

    &.column {
      flex-direction: column;
      align-items: stretch;

      input {
        margin-top: 5px;
        width: auto;
      }

      .search-label {
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
      }
    }

    input {
      margin-bottom: 0;
      margin-top: 0;

      &[type="checkbox"] {
        margin-right: 10px;
      }
    }

    .error {
      font-size: 12px;
      color: red;
    }

    label {
      margin-bottom: 0;
    }

    .tags {
      margin: 10px -4px;

      span {
        border: 1px solid grey;
        padding: 3px 8px;
        border-radius: 40px;
        cursor: pointer;
        margin: 4px;
        display: inline-block;

        &.selected {
          color: #fff;
          background-color: #558cd4;
        }

        &.size::after {
          content: attr(size);
          background-color: @node_green;
          color: white;
          padding: 0px 4px;
          border-radius: 30px;
        }
      }
    }
  }

  .modal-foot {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
  }

  &.in {
    top: 10%;
    display: block;
  }
}

#tag-modal {
  display: none;

  .modal-body {
    list-style: none;
    margin: -5px;

    .field {
      border: 1px solid grey;
      border-radius: 50px;
      display: inline-block;
      padding: 3px 15px;
      margin: 5px;

      .text {
        display: inline-block;
        margin-right: 10px;
      }

      .input {
        margin-right: 10px;
        padding-top: 0;
        padding-bottom: 0;
        max-width: 100px;
      }

      .tagbtn {
        display: inline-block;
        margin-left: 5px;
        cursor: pointer;
      }
    }
  }

  &.in {
    display: block;

    .modal-body {
      min-height: 400px;
    }
  }
}

// 图片预览
#preview-modal {
  // 左右两遍各预留 1%，因为一般屏幕比较宽，所以只留下了 1%
  width: 100%;
  //margin-left: -49%;
  top: 2%;
  // 上面 2% 下面 2% 中间就剩下 96%
  max-height: 100%;

  text-align: center;
  overflow-y: scroll;
  display: none;

  img {
    // just for 增强好看度
    box-shadow: 0 0 10px 5px grey;
    cursor: pointer;
  }
}

.about-friend-links img {
  width: 250px;
  height: 60px;
}

.sponsor_outlink:hover {
  text-decoration: none;
}

.github-login-btn {
  display: inline-block;
}

.pagination {
  height: 45px;
  margin: 10px 0px 0px 10px;

  ul {
    box-shadow: none;
  }
}

.pagination li a {
  line-height: 30px;
  color: #555;
  padding: 5px 12px !important;
  font-size: 17px;
}

.pagination li.active a {
  color: @node_green;
}

.only_mobile {
  display: none !important;
}

.only_mobile_search {
  display: none !important;
}

.pagination {
  display: none;
}

.fenye {
  display: none;
}

.search__autocomplete {
  position: absolute;
  display: block;
  top: 43px;
  left: 0;
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 0 0 4px 4px;
  margin-top: -3px;
  z-index: 25;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0 0 6px 6px;
}

.acp-wrap {
  box-sizing: border-box;
  display: block;
  padding-top: 4px;
  //padding-bottom: 4px;
  background-color: #fff;
  overflow: auto;
  overflow-x: hidden;
  position: static;
}

// .acp-wrap:after {
//   content: "关闭";
//   display: block;
//   text-align: right;
//   background-color: #f5f5f5;
//   padding: 4px 10px;
//   margin-top: 4px;
//   cursor: pointer;
//   font-weight: bold;
// }

.acp {
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  font-size: 16px;
  padding: 5px 10px;
  margin: 0 auto;
  position: static;
  color: #222;
  font-weight: bold;
  cursor: pointer;
}

//.acp:last-of-type {
//  padding-bottom: 100px;
//}

.acp.history {
  display: flex;
  justify-content: space-between;
  color: #52188c;
}

.acp.history span {
  max-width: calc(100% - 50px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.acp.history a {
  color: currentcolor;
  font-size: small;
}

.acp.active {
  background-color: #ddd;
  // padding-top: 6px;
  // padding-bottom: 6px;
}

.acp > .t-normal {
  font-weight: normal;
  cursor: pointer;
}

.acp > .t-normal-delete {
  margin-top: 2px;
  font-weight: normal;
  color: #80868b !important;
  cursor: pointer;

  &:hover {
    color: dodgerblue !important;
  }
}

.topic_title_search {
  position: relative;
  font-size: 18px;
  font-family: arial, sans-serif;
  display: inline-block;
  vertical-align: middle;
  line-height: @list_search_line_height;
  text-overflow: ellipsis;
  white-space: normal;
  color: @color_search_title;
  display: inline;
  margin-left: 15px;

  .official_result,
  .legal_result {
    position: absolute;
    right: -40px;
    top: 1px;
  }

  &:focus {
    text-decoration: none;
  }

  &:visited {
    color: @color_search_title_visited;
  }

}

.title-keyword-hightlight {
  color: @color_highlight_title;
}

.intro-keyword-hightlight {
  color: @color_highlight_title;
}

.user_name > a {
  color: #778087;
}

#vditor-div *:before {
  font-size: 14px;
}

.topic_intro {
  word-break: break-all;
  margin-left: 48px;
  line-height: 1.5;
  color: @color_search_intro;
  white-space: normal;
  display: flow-root;
  margin-left: 0;
  margin-right: 50px;
  margin-top: 5px;

  [class*="span"] {
    float: none;
    margin-left: 0;
  }
}

.topic_original_intro {
  word-break: break-all;
  margin-top: 1px;
  margin-left: 70px;
  margin-bottom: 5px;
  line-height: 1.5;
  white-space: normal;
  color: #8a8a8a;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.topic_brief {
  word-break: break-all;
  font-size: 13.9px;
  margin-top: 1px;
  margin-left: 70px;
  margin-right: 105px;
  margin-bottom: 5px;
  line-height: 1.5;
  color: #8a8a8a;
  white-space: normal;
  word-break: break-all;
}

[id^="topic_"] em {
  font-style: normal;
  color: @color_highlight_intro;
}

[id^="topic_"] > .cell {
  padding-right: 10px;
  background: white;
  border-top: 1px solid #f0f2f7;
}

.fa-history {
  color: #80868b !important;
  font-weight: lighter !important;
}

.video_length {
  padding: 1px 5px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.ssjg-icon {
  color: @node_green;
  opacity: 1;
  margin-left: 13px;
}

.other-search {
  margin-left: 25px;
}

.other-search > img {
  width: 22px;
}

.plugin-download-link {
  i {
    color: #08c;
    opacity: 0.8;
  }
}

.avatar .avatar-preview img {
  border-radius: 50%;
}

#searchButton,
#searchMyOriginalButton,
#createMyOriginalButton {

}

.inner-user-card {
  line-height: 20px !important;
}

.private-tag {
  user-select: none;
  margin-left: 20px;
}

.official_result {
  margin-left: 8px;
  vertical-align: text-bottom;
  font-size: 12px;
  background-color: #4e6ef2;
  padding: 0 4px;
  line-height: 18px;
  height: 18px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
}

.legal_result {
  margin-left: 8px;
  vertical-align: middle;
  font-size: 12px;
  background-color: #0EBE98;
  padding: 0 4px;
  line-height: 18px;
  height: 18px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
}


.main_list_top > .item-cell:first-child {
  border-top: 1px @node_green dashed;
}

#topic_1 > .cell {
  border-top: none;
}


.in_result_banner {
  display: none;
}


.tribute-container {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tribute-container ul {
  margin: 0 !important;
}

.tribute-container li {
  background-color: white !important;
  color: black;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tribute-container li.highlight {
  background-color: #3b6bf6 !important;
  color: white;
}

.reply_count.pull-left.only_pc {
  line-height: 2em;
}

.topic_title_wrapper {
  line-height: 2em;
}

.op-bk-polysemy-ellipsis {
  margin: 0;
}

.c-img.c-img1.c-img-circle.op_sp_realtime_bigpic5_source_icon {
  font: 13.9px/21px Arial, sans-serif;
  word-break: break-all;
  color: #333;
  font-size: 13.9px;
  border-collapse: collapse;
  width: 16px !important;
  height: 16px !important;
  position: relative !important;
  display: block;
  min-height: 0;
  border: 0;
  line-height: 0;
  background: #f5f5f6;
  border-radius: 100%;
  overflow: hidden;
  float: left;
  top: 3px;
  margin-right: -4px;
  margin-left: 8px;
}

.c-color-gray.op_sp_realtime_bigpic5_left {
  font: 13.9px/21px Arial, sans-serif;
  word-break: break-all;
  font-size: 13.9px;
  line-height: 21px;
  border-collapse: collapse;
  padding-left: 8px;
  color: #626675;
}


.c-gap-top-xsmall.op-bk-polysemy-move {
  display: none;
}

.c-gap-right-small.op-se-listen-recommend {
  font: 13.9px/21px Arial, sans-serif;
  word-break: break-all;
  font-size: 13.9px;
  line-height: 21px;
  border-collapse: collapse;
  list-style: none;
  text-decoration: underline;
  color: #0269c8;
  margin-right: 8px;
}

ul > li > label {
  display: inline-block;
}

.reply_time.on {
  background-color: yellowgreen;
}

#tab-value {
  width: 100px;
}

.auto-save-tip {
  margin-left: 30px;
  color: #999;
  float: right;
}

.tab-selector {
  font-size: 16px;
}

.copy-btn {
  position: absolute;
  display: block;
  z-index: 123;
  right: 0;
  top: 0;
  display: none;

  svg {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    color: #586069;
    fill: currentColor;
    opacity: 0.7;

    &:hover {
      opacity: 1;
    }
  }
}


.fast-edit-delete {
  font-size: 14px;
  margin-left: 10px;
  user-select: none;
  opacity: 0;
  vertical-align: bottom;

  a {
    margin-right: 10px;
    text-decoration: none;
    color: #08c;
    opacity: 0.8;
  }
}

.cell:hover {
  .fast-edit-delete {
    opacity: 1;
  }
}

.read_permission_tip {
  margin-left: 5px;
  font-size: 13.9px;
  color: #999;
}

.header__content.header__search {
  display: inline-block;
  width: 520px;
  color: #222;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  position: relative;
  vertical-align: text-top;
}

.search--adv {
  height: @search_input_height;
  color: #222;
  margin: 0;
  padding: 0;
  font: inherit;
  vertical-align: baseline;
  font-size: 1em;
  box-sizing: border-box;
  border-radius: 4px;
  display: block;
  position: relative;
  //border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06);
  padding-right: 3.5em;
  background-color: #fff;
  padding-left: 11px;
}

.search__input--adv {
  height: @search_input_height !important;
  width: 91% !important;
  font-size: 16px !important;
  box-shadow: none !important;
  color: #222 !important;
  appearance: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  font-weight: normal !important;
  display: block !important;
  background: none !important;
  outline: none !important;
  border: none !important;
  padding: 0 !important;
  z-index: 1 !important;
  position: relative !important;
  margin: 0 !important;
}

.search__button {
  height: @search_input_height !important;
  box-shadow: 0 0 0 #fff;
  -webkit-appearance: none;
  box-sizing: content-box;
  font-family: ddg-serp-icons !important;
  speak: none;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  width: 1em;
  display: block;
  cursor: pointer;
  background: 0 0;
  text-align: center;
  border: none;
  position: absolute;
  top: 0;
  right: 3px;
  left: auto;
  margin: auto;
  z-index: 2;
  outline: 0;
  border-radius: 0 4px 4px 0;
  min-width: 26px;
  color: #fff;
  padding: 0 0.64em;
  height: auto;
  min-height: 1.8em;
  margin-right: -3px;
  line-height: 1.5;
  //background-color: #80bd01;
  background-color: @node_green;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  -webkit-font-smoothing: subpixel-antialiased;
  font-size: 18px;

  &:hover {
    background-color: #f39c12;
  }
}


.search__clear {
  box-shadow: none;
  -webkit-appearance: none;
  box-sizing: content-box;
  font-family: "ddg-serp-icons" !important;
  speak: none;
  font-style: normal;
  font-weight: 600;
  font-variant: normal;
  text-transform: none;
  text-decoration: none !important;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  width: 1em;
  display: block;
  cursor: pointer;
  background: transparent;
  text-align: center;
  border: none;
  height: 2.45em;
  position: absolute;
  top: 1px;
  bottom: 0;
  right: 7px;
  left: auto;
  margin: auto;
  z-index: 2;
  outline: none;
  padding: 0 0.5em;
  line-height: 1;
  min-width: 21px;
  margin-right: 3em;
  color: #70757a;
  font-weight: bolder;
  font-size: 1.1em;
  visibility: visible;

  &:hover {
    box-shadow: none;
  }
}

.acp-clean-all {
  text-align: right;
  background-color: #f3f3f3;
  padding-top: 5px;
  padding-bottom: 3px;
  padding-right: 8px;

  span {
    cursor: pointer;
    font-size: 13.9px;
    color: #80868b;
    font-weight: normal;

    &:hover {
      color: dodgerblue;
    }
  }

  #acp-history {
    margin-right: 14px;
  }
}


.ui-front {
  position: relative;
  //z-index: 8;

  input {
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .ui-autocomplete {
    position: absolute;
    list-style: none;
    background-color: #f7f7f7;
    padding: 12px 6px;
    z-index: 11;
    border: 1px solid #ccc;
    box-shadow: 0px 3px 3px 1px rgba(204, 204, 204, 0.3);

    .ui-menu-item {
      border: 1px solid #ccc;
      border-radius: 5px;
      margin: 5px;
      cursor: pointer;
      display: inline-flex;
      padding: 3px 6px;

      &[selected='selected'] {
        background-color: #558cd4;
        color: white;

        &:hover {
          background-color: #558cd4;
        }
      }

      &:hover {
        background-color: rgba(233, 233, 233, 1);
      }
    }

    .ui-menu-divider {
      display: none;
    }
  }
}

.ui-helper-hidden-accessible {
  display: none;
}


.myAlert {
  z-index: 9999999999999;
}

.panel-cloud {
  background: white;
  padding-left: 10px;
  padding-bottom: 10px;
  padding-top: 1px;

  a:hover,
  a:visited,
  a:active,
  a:link {
    text-decoration: none;
  }

  a:hover {
    background-color: #9ACD32 !important;
  }

  a:link {
    color: white;
    background-color: #F39C12;
  }
}

#myModal {
  display: none;
  top: 20%;
}

.topic_type_label {
  display: inline-block;
  line-height: 1;
  padding: 4px;
  border-radius: 2px;
  user-select: none;
  vertical-align: middle;
  color: white;
  font-size: 10px;
  margin-top: -1px;

  &:hover,
  &:visited {
    cursor: default;
    color: white;
  }
}

.topic_title_search .topic_type_label {
  vertical-align: text-bottom;
}

object .topic_type_label {
  margin-top: -4px;
}

.topic_type_label_large {
  font-size: 13px;
}

.topic_type_label_yuan {
  background-color: #db903e;
  border-color: #db903e;
}

.topic_type_label_xi {
  background-color: #3667d3;
  border-color: #3667d3;
}

.topic_type_label_zhuan {
  background-color: #73abf1;
  border-color: #73abf1;
}

.topic_type_label_private {
  background-color: #767676;
  border-color: #767676;
}

.topic_type_label_good {
  background-color: #c65b46;
  border-color: #c65b46;

  &:hover {
    cursor: pointer;
    color: white !important;
    text-decoration: none;
  }
}

.topic_type_label_top {
  background-color: #3667d3;
  border-color: #3667d3;
}

.topic_type_label_collect {
  //background-color: #558cd4;
  //border-color: #558cd4;
  background-color: #73abf1;
  border-color: #73abf1;
}

.simple_collect {
  margin-bottom: 16px !important;
  height: 60px;
}

.taosha-fa-tags {
  font-size: 17px !important;
  opacity: 0.6;
  color: #db903e;
}

div.user_action i {
  font-size: 17px;
  margin-left: 3px;
}

#topic_list_weixin > div > div > div > div.img-d {
  display: none;
}


.p {
  zoom: 1;
  width: 861px;
  margin-top: 20px;
  margin-left: 15px;
  padding: 10px 0;
}

.p a,
.p span,
.p strong {
  min-width: 34px;
  height: 34px;
  display: block;
  line-height: 34px;
  text-align: center;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  float: left;
  font-size: 14px;
}

.p a {
  border: 1px solid #ebebeb;
  text-decoration: none
}

.p a,
.p a:visited {
  color: #555
}

.p a:hover {
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  background-color: #f6f6f6
}

.p:after {
  content: "";
  clear: both;
  display: block
}

.p span,
.p strong {
  border: 1px solid #f6f6f6;
  background: #f6f6f6;
  font-weight: 700
}

.p .pev {
  width: 86px;
  margin-right: 10px
}

.p .np {
  width: 86px;
  margin-left: 0;
  margin-right: 20px
}

.p .np:visited,
.p .pev:visited {
  color: #555
}


.page_container {
  background: white;
  display: flex;
  justify-content: center;
  height: 50px;
  line-height: 50px;
  color: #222;
  display: none;
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.1);

  a {
    text-decoration: none;
  }


  .page_left,
  .page_right {
    //border: 1px solid blue;
    flex: 1;
    height: 100%;
    display: flex;
    align-content: center;
    line-height: 48px;
  }

  .page_left_1,
  .page_left_2,
  .page_right_1,
  .page_right_2 {
    //border: 1px solid deeppink;
    flex: 1;
    text-align: center;
    font-size: 17px;
    color: #222;
  }

  .page_left {
    justify-content: center;
  }

  .page_center {
    justify-content: center;
  }


  .page_right {
    justify-content: center;
  }
}

.user-margin-left {
  margin-left: 15px;
}

.user-margin-top {
  margin-top: 10px;
}

.editor-statusbar {
  display: none;
}

.CodeMirror.cm-s-paper {
  border: 1px solid rgba(0, 0, 0, .2);
}

.user-topics-avatar-small {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
}

.user-topics-1 {
  position: relative;

  .user-topics-11 {
    display: flex;
    align-items: center;
    position: relative;
  }

  .user-topics-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 5px;
    object-fit: cover;
  }

  .user-topics-name {
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .user-topics-more-numbers {
    position: absolute;
    top: 60px;
    right: 0;
    color: #555;

    .big-font {
      font-size: 24px;
      font-weight: 500;
      color: #333;
    }
  }

  .user-topics-more-info {
    margin-top: 7px;

    a {
      font-size: 13px !important;
      color: #005580;

      &:hover {
        text-decoration: none;
      }
    }
  }

  .user-topics-btn {
    position: absolute;
    top: 16px;
    right: 0px;
  }

  .user-topics-signature {
    margin-top: 10px;
    margin-bottom: -5px;
    margin-right: 300px;

    span {
      color: #777;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }

  .user-topics-search-div {
    margin-top: 5px;

    #searchMyOriginalInput {
      margin: 0 5px 0 0;
      width: 200px;
      height: 28px;
      background-color: white;
    }

    #searchMyOriginalButton {
    }

    .filter_tag {
      margin-left: 5px;

      span {
        color: #cb0c13;
        background: rgba(203, 12, 19, .15);
        text-decoration: none;
        display: inline-block;
        padding: 0 8px;
        font-size: 12px;
        height: 22px;
        line-height: 22px;
      }
    }
  }

}

.notify-login-div {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

a.item.fa {
  font-size: 15px;
}

a.mobile-item.fa {
  font-size: 14px;
}

.user-detail-more:hover {
  text-decoration: none;
}

.user-detail-more > span {
  margin-right: 3px;

  &:hover {
    text-decoration: none;
  }
}

span.user-detail-more-fa {
  font-size: 17px;
  margin-right: 5px;
}

.header.header__index {
  background: #fff;
}

.more-link._moreLink {
  margin-top: 15px;
  margin-bottom: -5px;
}

.user-left {
  position: relative;
  cursor: pointer;
}

.user_item_attention {
  position: absolute;
  top: 20px;
  right: 10px;
}

.fly-rank dl {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 0px;
  margin-right: -30px;
  margin-left: 7px;
}

.fly-rank dd {
  position: relative;
  width: 60px;
  height: 80px;
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
  margin-left: 0;
  margin-right: 25px;
  margin-bottom: 10px;
  text-align: center;
}

img.scale-head {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.fly-rank dd a i {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.right-button {
  float: right;
  margin-top: -1px;
}

.right-button-2 {
  float: right;
  margin-top: -4px;
}

#sidebar > div.panel > div.header {
  padding-left: 10px;
}

#sidebar > div.panel > div.header {
  background: white !important;
  border-bottom: 1px solid #f0f2f7;
}

.index-aside-footer {
  margin-left: 17px;
  -webkit-font-smoothing: antialiased;

  p {
    text-indent: 2em;
    margin: 0;
    color: rgb(108, 117, 125);
    font-size: 13px;
  }

  a,
  ul,
  li {
    margin: 0;
    margin-bottom: 10px;
    color: rgb(108, 117, 125);
    font-size: 13px;
  }

  li.goal {
    margin-bottom: 0;
    margin-left: 27px;
  }
}

.vditor.vditor--fullscreen {
  .vditor-toolbar.vditor-toolbar--pin {
    position: unset;
  }
}

#vditor-div {
  .vditor-ir__node {
    pre {
      background: #f1f1f1;

      code {
        background: #f1f1f1;
      }
    }
  }


  ul,
  ol {
    margin: unset;
  }

  p {
    font-size: unset;
  }

  .vditor-reset {
    font-size: 16px;
  }
}

.item-cell-search-left {
  flex: 0 0 30px;
  margin-right: 15px;

  img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-sizing: border-box;
  }
}

.item-cell-search-middle {
  width: 100%;

  .title-row {
    margin-right: 0;
  }

  .topic_title_search {
    margin-left: 0;
  }

  .new-topic-intro {
    margin-top: 5px;
  }

  .abstract {
    margin-right: 0;
  }

  .tag_list .tag {
    margin-top: 5px;
  }
}

.item-cell-search-right {
  flex: 0 0 70px;
  text-align: right;
  margin-top: 3px;

  a {
    color: #9195a3;

    &:hover,
    &:visited {
      color: #9195a3;
      text-decoration: none;
    }
  }
}

.fixed-widgets {
  position: fixed;
  display: flex;
  flex-direction: column;
  right: 12px;
  top: calc(~"100vh - 250px");
  z-index: 2147483640;
  display: flex;

  flex-direction: column;
  cursor: pointer;

  span {
    margin-top: 10px;
  }

  .right_bottom_icon {
    width: 36px;
    height: 36px;
    color: #fff;
    background-color: #80bd01;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;
    transition: color .3s;
    background-size: 55%;
  }

  .back {
    background-size: 60%;
    background-color: #fff;
    display: none;
    background-image: url(/public/svg/back.svg);
  }

  .write {
    background-image: url(/public/svg/write.svg);
  }

  .users {
    background-size: 75%;
    background-image: url(/public/svg/users.svg);
  }

  .alerttt {
    background-size: 55%;
    background-image: url(/public/svg/alert.svg);
  }
}


.j-hotsearch-btn {
  cursor: pointer;
  margin-left: 20px;

  &:hover {
    color: @node_green;
  }
}


.j-hotsearch-btn-active {
  color: @node_green;
}

.panel-hotsearch {
  .article-item {
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;

  }

  .icon-stick {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background: url("/public/svg/stick.svg") no-repeat 50%;
    background-size: contain;
  }


  .news-index {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 8px;
    width: 22px;
    line-height: 22px;
    font-size: 18px;
    font-weight: 700;
    font-family: ByteNumber-center;
    color: #999;
    text-align: center;
  }

  .news-title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;

    &:hover {
      color: #315efb;
      text-decoration: underline;
    }
  }

  .icon-txt {
    display: inline-block;
    padding: 0 2px;
    text-align: center;
    vertical-align: middle;
    font-style: normal;
    color: #fff;
    overflow: hidden;
    line-height: 16px;
    height: 16px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
  }

  .icon-txt-new {
    background: #f19f39;
  }

  .icon-txt-hot {
    background: #F60;
  }

  .icon-txt-fei {
    background: #FC3200;
  }

  .icon-txt-bao {
    background: #DE1544;
  }


  .news-index.num-1 {
    color: #a82e2e;
  }

  .news-index.num-2 {
    color: #f04142;
  }

  .news-index.num-3 {
    color: #ff9a03;
  }
}

.panel_search .topic_title_search {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.controls input {
  height: 30px;
}

.divider-taosha {
  margin: 0 5px;
}

.avatar .avatar-button {
  max-width: unset !important;
}

.avatar-button.span-primary.webuploader-container > div:nth-of-type(2) {
  width: 100% !important;
  inset: unset !important;
}

.user-topics-tag {
  color: #cb0c13;
  background: rgba(203, 12, 19, 0.15);
  padding: 0 8px;
  font-size: 12px;
  height: 22px;
  line-height: 22px;
}

.huore {
  display: none;
  position: absolute;
  left: 52px;
  top: 7px;
  width: 16px;
  z-index: 999;
}

a.topic-tab.topic-tab-worldcup.current-tab {
  padding: 4px 4px;
}


.Card {
  background: #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 3px hsla(0, 0%, 7%, .1);
  box-shadow: 0 1px 3px hsla(0, 0%, 7%, .1);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 10px;
  overflow: hidden
}

html[data-theme=dark] .Card {
  background: #121212;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3)
}

.Card:last-child {
  margin-bottom: 0
}

.Card-header {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #f6f6f6;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 50px;
  justify-content: space-between;
  padding: 0 16px
}

html[data-theme=dark] .Card-header {
  border-bottom: 1px solid #1b1b1b
}

.Card-header:last-child {
  border-bottom: none
}

.Card-headerText {
  font-synthesis: style;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

html[data-ios] .Card-headerText {
  font-weight: 500
}

html[data-android] .Card-headerText {
  font-weight: 700
}

.Card-section {
  padding: 16px;
  position: relative
}

.Card-section + .Card-section:after {
  border-bottom: 1px solid #f6f6f6;
  content: "";
  display: block;
  left: 0;
  margin: 0 16px;
  position: absolute;
  right: 0;
  top: 0
}

html[data-theme=dark] .Card-section + .Card-section:after {
  border-bottom: 1px solid #1b1b1b
}

.HotList-item {
  display: flex;
  cursor: pointer;
  padding: 5px 0;
  padding-right: 1px;
  text-decoration: none;

  .news-index {
    line-height: 23px;
  }

  &:hover, &:focus {
    text-decoration: none;
  }

  &:not(:first-child) {
    border-top: 1px solid #d3d3d3;
  }
}


.HotList-itemPre {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column
}

.HotList-itemBody, .HotList-itemPre {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.HotList-itemBody {
  flex: 1 1;
  flex-direction: column;
  margin: 0;
  overflow: hidden
}

.HotList-itemIndex {
  color: #a5542f;
  font-size: 18px;
  line-height: 24px
}

html[data-theme=dark] .HotList-itemIndex {
  color: #d28262
}

.HotList-itemIndex {
  font-synthesis: style;
  font-weight: 600
}

html[data-ios] .HotList-itemIndex {
  font-weight: 500
}

html[data-android] .HotList-itemIndex {
  font-weight: 700
}

.HotList-itemIndexHot {
  color: #f1403c
}

html[data-theme=dark] .HotList-itemIndexHot {
  color: #e55
}

.HotList-itemTitle {
  font-size: 15px;
  color: #222;
}

.HotList-itemTitle {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box
}

.HotList-itemExcerpt, .HotList-itemTitle {
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis
}

.HotList-itemTitle {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;

  &:hover {
    text-decoration: underline;
    color: #315efb;
  }
}


.HotList-itemExcerpt {
  color: #444;
  white-space: nowrap
}

html[data-theme=dark] .HotList-itemExcerpt {
  color: #d3d3d3
}

.HotList-itemMetrics {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

html[data-theme=dark] .HotList-itemMetrics {
  color: #999
}

.HotList-itemMetrics img {
  height: 18px;
  margin-right: 5px;
  width: 30px
}

.HotList-itemImgContainer {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative
}

.HotList-itemImgContainer img, .HotList-itemImgContainer span {
  border-radius: 5px;
  height: 70px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 105px
}

.HotList-itemImgContainer span {
  background-color: hsla(0, 0%, 7%, .05);
  position: absolute
}

html[data-theme=dark] .HotList-itemImgContainer span {
  background-color: hsla(0, 0%, 100%, .05)
}

.HotList-itemLabel {
  font-size: 12px
}

.HotList-itemLabel span {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.inner.no-padding.fenye-inner {
  margin-bottom: 20px;
}

#loading {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 100;
  background-image: url('/public/img/loading.gif');
  background-repeat: no-repeat;
  background-position: center top;
  left: 25%;
  transform: translateX(-50%);
}

#loading.index-loading {
  left: 35%;
}

.search_msg {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

#toChat {
  display: inline;
  position: fixed;
  width: 36px;
  height: 36px;
  bottom: 20px;
  right: 10px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  //background-size: 70%;
  background-size: cover;
  background-image: url(/public/img/chatgpt.png);
  background-color: #fff;
}

ul.action-list.jh-timeline-action-area {
  .item {
    a {
      display: flex;
      align-items: center;

      span {
        margin-top: -2px;
      }
    }
  }
}